package dk.dashboardFP.panels.settingspanel.info {
	import dk.dashboardFP.panels.subPanels.ui.windowSubPanelUI.IWindowContent;
	import dk.dashboardFP.panels.subPanels.ui.windowSubPanelUI.WindowSubPanelUI;
	import dk.dashboardFP.panels.panelElements.AbstractDashboardFPPanel;
	import dk.dashboardFP.panels.subPanels.WindowSubPanel;

	/**
	 * @author josef
	 */
	public class InfoSubPanel extends WindowSubPanel {
		private var _infoWindowContent : IWindowContent;

		public function InfoSubPanel(oDashboardFPPanel : AbstractDashboardFPPanel, sSubPanelPlaneTitle : String) {
			super(oDashboardFPPanel, sSubPanelPlaneTitle);
			setupElements();
		}

		//::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
		// setup
		//::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

		private function setupElements() : void {
			
			// setup content
			_infoWindowContent=new InfoWindowContent(); 
			
			// add to window
			WindowSubPanelUI(_doSubPanelUI).addWindowContent(_infoWindowContent);
		}
	}
}
